<?php
/**
* YOOmenu Joomla! Module
*
* Class to extend Joomla 1.0.x with a split menu function and more...
*
* @author    yootheme.com
* @copyright Copyright (C) 2007 YOOtheme Ltd. & Co. KG. All rights reserved.
* @license	 http://www.gnu.org/copyleft/gpl.html GNU/GPL
*/

// no direct access
defined( '_VALID_MOS' ) or die( 'Restricted access' );

// load menu class
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'mod_yoo_menu' . DIRECTORY_SEPARATOR . 'helper.php');

// default params
$params->def('menutype', 'mainmenu');
$params->def('class_sfx', '');
$params->def('startLevel', 0);
$params->def('endLevel', 0);
$params->def('accordion', 0);
$params->def('showItemBackgroundImage', 0);
$params->def('showAllChildren', 0);

// render menu
$menu = new YOOmenu($params);
$menu->showMenu();

?>